package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目管理对象 sys_school_project
 * 
 * @author 杨皓焜
 * @date 2021-02-06
 */
public class SysSchoolProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目id */
    private Long projectId;

    /** 学员id */
    @Excel(name = "学员id")
    private Long studentId;

    @Excel(name = "班级id")
    private Long classId;

    /** 项目名字 */
    @Excel(name = "项目名字")
    private String projectName;

    /** 项目类型 */
    @Excel(name = "项目类型")
    private String type;

    private SysSchoolStudent student;

    private SysSchoolClass classes;

    public SysSchoolClass getClasses() {
        return classes;
    }

    public void setClasses(SysSchoolClass classes) {
        this.classes = classes;
    }

    public SysSchoolStudent getStudent() {
        return student;
    }

    public void setStudent(SysSchoolStudent student) {
        this.student = student;
    }

    public void setProjectId(Long projectId)
    {
        this.projectId = projectId;
    }

    public Long getProjectId()
    {
        return projectId;
    }

    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectId", getProjectId())
            .append("studentId", getStudentId())
            .append("projectName", getProjectName())
            .append("type", getType())
            .toString();
    }
}
